//获取所有启用的轮播图信息
export const getBannerListApi = async () => {
	const {
		data: res
	} = await uni.$http.get('/api/flash/wx/queryList')
	return res
}

//获取轮播图详情
export const getBannerDetailApi = async (code, category) => {
	const {
		data: res
	} = await uni.$http.get(`/api/flash/getByCode/${code}/${category}`)
	return res
}
